package com.example.rentalcar.entity;

import lombok.Data;

@Data
public class OssProperties {

    /**
     * 地域节点
     */

    private String endpoint;

    /**
     * oss用户关键Key
     * */
    private String keyId;

    /**
     * 用户AccessKey Secret
     */

    private String keySecret;

    /**
     * region ID
     */

    private String regionId;

    /**
     * OSS bucket
     */

    private String bucketName;

    /**
     * 上传文件夹
     */

    private String filepath;

    public OssProperties(String endpoint, String keyId, String keySecret, String regionId, String bucketName, String filepath) {
        this.endpoint = endpoint;
        this.keyId = keyId;
        this.regionId = regionId;
        this.keySecret = keySecret;
        this.bucketName = bucketName;
        this.filepath = filepath;
    }

}
